package org.fusionide.builder.parsers.cfml.tags;

import org.fusionide.builder.parsers.cfml.CFMLTag;

public class Flush extends CFMLTag {

	private String interval;

	public Flush(String attributes, int startOffset) {
		super(attributes, startOffset);
		if (attributes == null)
			return;
		this.interval = getAttribute("interval");
	}

	@Override
	public boolean requiresClosingTag() {
		return false;
	}
	
	@Override
	public boolean acceptsChildren(CFMLTag tag) {
		return false;
	}

	public String getInterval() {
		return interval;
	}

	public void setInterval(String interval) {
		this.interval = interval;
	}

}
